Component({
    properties: {
        img: {
            type: String, //类型
            value: '/img/empty/empty.png' //默认值
        },
        tip: {
            type: String,
            value: '暂无相关数据'
        },
        url: {
            type: String,
            value: ''
        }
    },
    data: {

    },
    methods: {
        go() {
            console.log(this.properties)
            wx.navigateTo({
                url: this.properties.url,
                success(e){

                },
                fail(e){
                }
            })
        }
    }

})